//
//  Show360DegreeView.h
//  RotationImage
//
//  Created by wang didi on 11-12-2.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavigateView.h"
#import "DegreeView.h"

@interface Show360DegreeView : UIView
{
    
    NSArray * m_carArray;
    
    //车图片资源
    NSArray *m_imgArray;
    NSMutableArray *m_dataArray;
    
    //指间位移
    uint nFingerDistance;
    int nCurImage;
    int nCurCategory;
    
    CGPoint ptLast;         
    NSDate *lasTime ;
    
    UIImageView * bgView;
    UIImageView * showedView;
    
    NSOperationQueue *operationQueue;
    
    NavigateView * navigateView;
    DegreeView   * degreeView;
}

- (id)initWithFrame:(CGRect)frame  sensitive:(NSUInteger)sensitive;

- (void)loadCarData:(NSArray*)catArray;
- (void)loadCarImage:(NSArray*)imgArray;
- (void)selectCategory:(NSNumber*)index;

- (void)sleep;
- (void)wakeup;

@end
